//
//  AreaViewController.h
//  消费100
//
//  Created by eliot on 16/5/26.
//  Copyright © 2016年 aleven. All rights reserved.
//

#import <UIKit/UIKit.h>
#define PROVINCE_COMPONENT  0
#define CITY_COMPONENT      1
#define DISTRICT_COMPONENT  2

typedef void(^choseArea)(NSString *area);


@interface AreaViewController : UIViewController<UIPickerViewDelegate, UIPickerViewDataSource>{
    UIPickerView *picker;
    UIButton *button;
    
    NSDictionary *areaDic;
    NSArray *province;
    NSArray *city;
    NSArray *district;
    
    NSString *selectedProvince;
}

@property (nonatomic, assign) int isFromFirs;

@property (nonatomic, strong) choseArea hadChoseArea;

- (void) buttobClicked: (id)sender;

@end
